//package fun.formoji.commons.oauth.ex;
//
//import fun.formoji.commons.model.ServiceCode;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.security.access.AccessDeniedException;
//
///**
// * @Author: h
// * @Date: 2021/4/21 19:51
// */
//@Slf4j
//public class CustomException extends AccessDeniedException {
//    private int code;
//    private String msg;
//    private ServiceCode serviceCode;
//
//    public CustomException(String file) {
//        super(file);
//    }
//
//    public CustomException(Integer code, String msg) {
//        super(msg);
//        this.code = code;
//        this.msg = msg;
//    }
//}
